package com.otarriinae.swagger.annotaions;

import com.otarriinae.swagger.OtarriinaeSwaggerAutoConfiguration;
import org.springframework.context.annotation.Import;
import springfox.documentation.swagger2.configuration.Swagger2DocumentationConfiguration;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

/**
 * @author Wang Chengwei
 * @since 1.0
 */
@Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
@Target(value = { java.lang.annotation.ElementType.TYPE })
@Documented
@Import({Swagger2DocumentationConfiguration.class, OtarriinaeSwaggerAutoConfiguration.class})
public @interface EnableSwaggerKnife4j {

    boolean enableKnife4j() default true;
}
